
import 'package:get/get.dart';
import '../controller/sites.dart';
import '../controller/baseController.dart';
import '../core/liveRomeItem.dart';
class liveListController extends BasePageController<liveRoomItem>{
  final Site site;
  liveListController(this.site);
  @override
  Future<List<liveRoomItem>> getData(int page, int pageSize) async {
    var result = await site.liveSite_.getRecommendRooms(page: page);

    return result.items;
  }
}